import http from "../config/http";

export function previewUI(data?: any) {
    return http.request({
        url: "/previewUI",
        method: "post",
        data
    })
}

export function getUIData(data?: any) {
    return http.request({
        url: "/getUIData",
        method: "get",
        params: data
    })
}

/**
 * todo:上传用户上传的数据,并生成excel
 *  */
export const uploadUserForm = (data?: any) => {
    return http.request({
        url: "/uploadUserForm",
        method: "post",
        data
    })
}